import { ApiProperty } from "@nestjs/swagger";

export class GetArticleDto {
    @ApiProperty({
        description:'页码',
        required:false
    })
    page:number;

    @ApiProperty({
        description:'每页数量',
        required:false
    })
    limit:number;

    @ApiProperty({
        description:'分类id',
        required:false
    })
    classifyId:number;

    @ApiProperty({
        description:'标签id',
        required:false
    })
    tagId:number;

    @ApiProperty({
        description:'标题',
        required:false
    })
    title:string;

    @ApiProperty({
        description:'排序',
        required:false
    })
    sort:string;
}
